<?php
/**
 * Created by PhpStorm.
 * Power By Mikkle
 * Email：776329498@qq.com
 * Date: 2017/11/6
 * Time: 11:51
 */

namespace app\base\command;

use app\base\command\webim\WebSocket;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class Server extends Command
{
    protected $swoole ;

    public function configure(){

        $this->setName('socketServer')->setDescription('Here is  socket service ');
    }

    public function execute(Input $input, Output $output)
    {
        $this->swoole = new WebSocket();

    }

}